<include file="./head" />
<body>
<div class="page theme-diy" id="page-index">
  <div class="bar bar-nav yz_head">
    <div class="yz_head_top">
      <div class="yz_bor"> <a class="pull-right icon icon-me"  href="{:U('/user/index/wallet')}" style="  "></a> 
      <a class="logo pull-left" href="<?php echo U('/user/'); ?>" style="line-height:2.4rem;">{:C('SITE_NAME')} <i style="font-style:normal; margin-left:5px; font-size:10px;">分享产生价值</i></a> 
      </div>
    </div>
    <div class="yz_head_user yz_bor">
      <div class="left" style="width:22%">
             <span class="touxiang" style="background-image:url('{$user_info['avatar']}')"></span>
       </div>
       <div id="yz_user_bar">
        <span class="nickname">{$user_info['nickname']} 您好!</span>
        <span class="balance">账户余额：<span class="fa fa-cny" style=" font-size:1rem"></span><span style=" font-size:1rem">{:get_erwei($user_info['balance'])}</span></span>
       </div>
       <div class="clear"></div>
    </div>
       <div class="tool_bar wp">
            <div class="row">
               <div class="col-33 line_right">
                   <div class="ti juzhong">今日分享收益</div>
                   <div class="juzhong">{:get_erwei($jinri_fx['0']['price'])}元</div>
               </div>
               <div class="col-33 line_right">
                         <div class="ti juzhong">今日分销收益</div>
                            <div class="juzhong">{:get_erwei($jinri_order['0']['ticheng'])}元</div>
               </div>
    
               <div class="col-33">
                      <div class="ti juzhong">今日徒弟提成</div>
                         <div class="juzhong">{:get_erwei($jinri_fans['0']['price'])}元</div>
               </div>
            </div>

       </div>

  </div>
  <div class="content native-scroll" style="overflow-y:scroll;overflow-x:hidden;">
    <div style="height: 6.8rem;"></div>
     <div class="tongzhi wp">
         <div class="bar">
            <div class="left"><span class="fa fa-volume-up"></span></div>
            <div class="up left" id="colee" >
                <ul id="colee1">
                <MARQUEE behavior="scroll" direction="left" contenteditable="true" scrollamount="3" onMouseOut="this.start()" onMouseOver="this.stop()" >
                <?php foreach($tongzhi as $v):?>
               
                <a style="color:#666" href="<?php echo U('/User/Help/index',array('id'=>$v['id']));?>"><?php echo $v['title'];?></a> 

                <?php endforeach;?>
                      </MARQUEE>
                </ul>
            </div>
         </div>
     </div>
    <div class="nav-index">
      <ul>
        <li> <a href="{:U("/Article/weixin/")}">
          <div class="yz_ico"> <span class="fa fa-share-alt  icon2"></span> </div>
          <span>转发赚钱</span> </a> </li>
         <?php if(C("FX")){?> 
        <li> <a href="<?php echo U('/User/Shop/index'); ?>">
          <div class="yz_ico"> <span class="fa fa-shopping-cart xz icon2"></span> </div>
          <span>分销赚钱</span> </a> </li>
         <?php }else{ ?>
          <li> <a href="<?php echo U('/user/index/wallet'); ?>">
          <div class="yz_ico"> <span class="fa fa-cny xz icon2"></span> </div>
          <span>我的钱包</span> </a> </li>
         <?php }?>
        <li> <a href="{:U("/User/Invited/".session('user.id'))}" external>
        <div class="yz_ico"> <span class="fa fa-slideshare icon2"></span> </div>
        <span>我要收徒</span> </a> </li>
        <li> <a href="{:U("/User/help/")}">
        <div class="yz_ico"> <span class="fa fa-h-square icon2"></span> </div>
        <span>新手帮助</span> </a> </li>
      </ul>
      <ul>
      <li> <a href="{:U('/User/Share')}">
      <div class="yz_ico"> <span class="fa fa-share-alt-square icon1"></span> </div>
      <span>转发收益</span> </a> </li>

      <li> <a href="<?php echo U('/User/Share/shop'); ?>">
      <div class="yz_ico"> <span class="fa fa-line-chart icon1"></span> </div>
      <span>分销收益</span> </a> </li>

      <li> <a href="{:U('/User/Share/fans')}">
      <div class="yz_ico"> <span class="fa fa-bar-chart icon1"></span> </div>
      <span>粉丝收益</span> </a> </li>
      <li> <a href="{:U('/User/Share/tudi')}" external>
      <div class="yz_ico"> <span class="fa fa-user-plus icon1"></span> </div>
      <span>我的徒弟</span> </a> </li>
      </ul>
      <ul>
        <li> <a href="{:U('/User/Withdraw/apply')}">
        <div class="yz_ico"> <span class="fa fa-credit-card icon2"></span> </div>
        <span>我要提现</span> </a> </li>
        <li> <a href="{:U('/User/Withdraw')}">
        <div class="yz_ico"> <span class="fa fa-pie-chart icon2"></span> </div>
        <span>提现记录</span> </a> </li>
        <li> <a href="{:U('/User/index/password')}">
        <div class="yz_ico"> <span class="fa fa-expeditedssl icon2"></span> </div>
        <span>密码修改</span> </a> </li>
        <li> <a href="{:U('/User/logout')}" external>
        <div class="yz_ico"> <span class="fa fa-power-off icon2"></span> </div>
        <span>退出登录</span> </a> </li>
      </ul>
    </div>
      <p class="bootm_but wp">
      <a href="javascript:yz_layer('weixin_kefu','/Public/user/kefu_weixin.jpg');" external>微信联系官方客服</a>
      <a external href="javascript:yz_layer('weixin_kefu','/Public/user/qq_qun.png');"  >加入官网QQ群</a>
      </p>
    <div style="height:5rem;"></div>
  </div>
  <nav class="bar bar-tab yz_bar"> 
  <a class="tab-item active external" href="<?php echo U('/user/'); ?>"> <span class="icon icon-home"></span> <span class="tab-label">主页</span> </a> 
  <a class="tab-item external" href="<?php echo U("/User/Invited/".session('user.id')); ?>"> <span class="icon icon-me"></span> <span class="tab-label">我要收徒</span> <!--span class="badge">2</span--> </a> 
  <a class="tab-item" href="<?php echo('/User/index/user_top');?>"> <span class="icon icon-star"></span> <span class="tab-label">排行榜</span> </a> 
  
  </nav>
</div>
<script type='text/javascript' src="__PUBLIC__/user/new/js/scrollnews.js" charset='utf-8'></script>
<include file="./foot" />


